package com.keke.myblogv1.girlfriend.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.keke.myblogv1.girlfriend.dto.QueryMyBlogGirlfriendByPageDTO;
import com.keke.myblogv1.girlfriend.entity.MyBlogGirlfriend;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author Derrick
 * @since 2022-07-31
 */
public interface MyBlogGirlfriendService extends IService<MyBlogGirlfriend> {

    List<MyBlogGirlfriend> getGirlfriendList();

    Page<MyBlogGirlfriend> getGirlfriendListByPage(QueryMyBlogGirlfriendByPageDTO queryMyBlogGirlfriendByPageDTO);

    boolean insertGirlfriend(MyBlogGirlfriend myBlogGirlfriend);

    boolean updateGirlfriend(MyBlogGirlfriend myBlogGirlfriend);

    boolean deleteGirlfriend(MyBlogGirlfriend myBlogGirlfriend);
}
